|
A stack is a standard C++ container adapter, designed to be used in a LIFO context,〔(【引用サイトリンク】url=http://www.cplusplus.com/reference/stack/stack/ )〕 and is implemented with an interface/wrapper to the type passed to it as a template argument, which defaults to a deque. It is so simple, that it can be described just by a sample interface: template class std::stack size_type size() const value_type& top() const const value_type& top() const void push(const value_type& n) void pop() }; ==Overview of Functions== 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Stack (C++)」の詳細全文を読む スポンサード リンク
|